﻿using Deployment.Data.Variable;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;

namespace Deployment.Data.SQL.Variable.UI
{
    public class SQLConnectionVariableControl : AbstractVariableEditorControl
    {

        public SQLConnectionVariableControl()
            : base()
        {
            ////base.InitializeComponent();
            //lbl_Data.Content = "Connection name:";

            ////Binding ConnectionBinding = new Binding();
            ////ConnectionBinding.Source = base.Environments;
            ////ConnectionBinding.Path = new PropertyPath("Connections");
            ////ConnectionBinding.Mode = BindingMode.TwoWay;
            ////ConnectionBinding.UpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged;
            ////cbo_Data.SetBinding(ComboBox.ItemsSourceProperty, ConnectionBinding);
            ////cbo_Data.DisplayMemberPath = "Name";

            ////Binding ExtraDataBinding = new Binding();

            //cbo_Extra.ItemsSource = SQLConnectionVariable.VisableSelectionList();
            //cbo_Extra.IsEditable = false;
            ////lbl_Extra.Visibility = System.Windows.Visibility.Visible;
            ////cbo_Extra.Visibility = System.Windows.Visibility.Visible;
        }

    }
}
